package net.lab1024.smartadmin.module.baseModel.oss.service;


import net.lab1024.smartadmin.module.baseModel.oss.entity.OssCallbackResult;
import net.lab1024.smartadmin.module.baseModel.oss.entity.OssPolicyResult;

import javax.servlet.http.HttpServletRequest;

public interface OssService {

    /**
     * oss上传策略生成
     */
    OssPolicyResult policy();

    /**
     * oss上传成功回调
     */
    OssCallbackResult callback(HttpServletRequest request);
}
